How to Fix RecursionError in Circular Board Game Solver in Python

join shbcf.ru